<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--action提交地址-->
<form action="http://www.tmooc.cn">
    用户名：<input type="text" name="username"
               placeholder="请输入用户名" maxlength="5" value="777"
               readonly=><br>
    密码：<input type="password" name="password" placeholder="请输入密码"
><br>
    性别：<input id="r1" type="radio" name="gender" value="m">
    <label for="r1">男</label>
    <input id="r2" type="radio" checked name="gender" value="w">
    <label for="r2">女</label><br>
    兴趣爱好：<input type="checkbox" name="hobby" value="cy">抽烟
    <input type="checkbox" name="hobby" value="hj">喝酒
    <input type="checkbox" name="hobby" value="yx">游戏<br>
    生日：<input type="date" name="birthday"><br>
    靓照：<input type="file" name="pic"><br>
    所在地：<select name="city">
        <option value="bj">北京</option>
        <option value="sh" selected>上海</option>
        <option value="gz">广州</option>
</select><br>

    <input type="submit" value="注册">
    <input type="reset">
    <input type="button" value="按钮">

    <hr>
    <button type="submit">提交</button>
    <button type="reset">重置</button>
    <button type="button">按钮</button>
</form>
</body>
</html>